package concrete;

public class Player{
	
	private final int BlocksOnBoard = 40;

	//private PlayerCondi state_;
	private String name_;
	private int positionOnBoard_, index_;
	


	protected Player() {
		//state_ = PlayerFree.Instance();
		name_ = "ANONYMOUS";
		index_ = 0;
		positionOnBoard_ = 0;
	}

	public Player(int index, String name) {
		//state_ = PlayerFree.Instance();
		name_ = name;
		index_ = index;
		positionOnBoard_ = 0;
	}
	
	public Player(Player player) {
		//state_ = player.state_;
		name_ = player.getName();
		index_ = player.getIndex();
	}
	
	//public void changeCondi(PlayerCondi newState) {
		// TODO Auto-generated method stub
		//state_ = newState;
	//}

	//public PlayerCondi getState() {
	//	return state_;
	//}


	public void setName(String name) {
		name_ = name;
	}

	public String getName() {
		return name_;
	}

	public int getIndex() {
		return index_;
	}
	
	public void setIndex(int i) {
		index_ = i;
	}

}
